<?php
include './include/common.inc.php';
$siteid = $site_conf->get('SITE_ID');
$site = new site();
$site_info = $site->get_one($siteid);
$menu_site = $site_info['menusite'];

$action = isset($action) ? $action : '';
switch($action)
{
    case 'main' :
        include template('admin','main');
        break;

    default :

        include template('admin','index');
}

?>
